package main;

import sceneObjects.*;
import utils.*;

public class Intersection {
    private Point3D point;
    private sceneObject object;
    private int extraData;

    // private Vector direction;
    // private Ray origRay;

    public Intersection(Point3D point, sceneObject object) {
	this(point, object, 0);
    }

    public Intersection(Point3D point, sceneObject object, int extraData) {
	this.point = new Point3D(point);
	this.object = object;
	this.extraData = extraData;
    }

    // public Intersection(Point3D point, sceneObject object, Ray ray, Vector direction) {
    // this.point = new Point3D(point);
    // this.object = object;
    // this.direction = direction.normalize();
    // this.origRay = ray;
    // }

    public Point3D getPoint() {
	return new Point3D(point);
    }

    public sceneObject getObject() {
	return object;
    }

    public int getExtraData() {
	return extraData;
    }

    // public Ray getOrigRay() {
    // return origRay;
    // }
    //
    // public Vector getDirection() {
    // return direction;
    // }
}
